package longshu.srpc.test.server;

import longshu.srpc.test.api.HelloService;

import java.util.Map;

/**
 * HelloServiceImpl HelloService服务端的实现
 *
 * @author LongShu 2017/12/03
 */
public class HelloServiceImpl implements HelloService {

    public String hello(String name) {
        return "Hello " + name;
    }

    @Override
    public Map<String, Object> hi(Map<String, Object> map) {
        map.put("hi", "服务端的实现");
        return map;
    }

}